package com.itlong.cloud.service;

import com.itlong.cloud.POJO.PO.DeviceBusinessEntranceChangeLogPO;

import java.util.List;

/**
 * <desc>
 *      云门禁设备服务管理接口
 * </desc>
 *
 * @createDate 2019/02/27
 */
public interface ICloudEntranceChangeBusinessService {

    /**
     * <desc>
     *     根据房间ID查询对应的楼栋与单元ID
     * </desc>
     *
     * @param roomId 房间ID
     * @return 楼栋与单元ID
     * @author wangzhi
     * @createDate 2019/02/27
     */
    String deviceChangeLogGetBuildAndUnitIdByRoomId(String roomId) throws Exception;

    /**
     * <desc>
     *     云门禁_批量保存设备端推送指令
     * </desc>
     *
     * @param deviceBusinessEntranceChangeLogPOS 待保存的参数集
     * @author wangzhi
     * @createDate 2019/02/27
     */
    Integer saveDeviceBusinessChangeLogBatch(List<DeviceBusinessEntranceChangeLogPO> deviceBusinessEntranceChangeLogPOS) throws Exception;
}
